home *** CD-ROM | disk | FTP | other *** search
- // SOutlineFont.h: Schnittstelle fⁿr die Klasse SOutlineFont.
- //
- // Copyright by AndrΘ Stein
- // E-Mail: stonemaster@steinsoft.net, andre_stein@web.de
- // http://www.steinsoft.net
- //////////////////////////////////////////////////////////////////////
-
- #ifndef SOUTLINEFONT_H
- #define SOUTLINEFONT_H
-
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
-
- #include "SGLFont.h"
-
- class SOutlineFont : public SGLFont
- {
- public:
- float getHeight(const char* string);
- float getWidth(const char* string);
- SOutlineFont();
- virtual ~SOutlineFont();
-
- bool createFont(HDC hDC, const char* fontname, int height, float thickness, SFontAttri attributes);
- virtual void drawText(SAlign alignment, const char* string, ...);
- private:
- GLYPHMETRICSFLOAT* infos;
- };
-
- #endif